<script setup>
defineProps(['title', 'subTitle'])
</script>

<template>
  <div class="home-panel">
    <div class="text">
      <h3>{{ title }}</h3>
      <span>{{ subTitle }}</span>
    </div>
    <slot name="content" />
  </div>
</template>

<style lang="scss" scoped>
.home-panel {
  margin-top: 30px;
  .text {
    display: flex;
    align-items: center;
    justify-content: left;
    gap: 10px;
    margin-bottom: 30px;
    h3{
      font-size: 30px;
    }
    span {
      font-size: 16px;
      color: #88898c;
    }
  }
}
</style>
